package com.talos.ums.controller.admin.organizationmanager.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "管理后台 - 组织管理人员关联表新增/修改 Request VO")
@Data
public class UmsOrganizationManagerSaveReqVO {

    @Schema(description = "", requiredMode = Schema.RequiredMode.REQUIRED, example = "5794")
    private Long id;

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "8445")
    @NotNull(message = "用户id不能为空")
    private Long userId;

    @Schema(description = "用户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "用户名称不能为空")
    private String userName;

    @Schema(description = "组织id", requiredMode = Schema.RequiredMode.REQUIRED, example = "23789")
    @NotNull(message = "组织id不能为空")
    private Long orgId;

}
